Skip to content

Commit 89de692

Browse files
committed
Fixes join_multicast on Windows #20381
1 parent 210f0dc commit 89de692

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/liblibc/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2206,10 +2206,10 @@ pub mod consts {
22062206
pub const IPPROTO_TCP: c_int = 6;
22072207
pub const IPPROTO_IP: c_int = 0;
22082208
pub const IPPROTO_IPV6: c_int = 41;
2209-
pub const IP_MULTICAST_TTL: c_int = 3;
2210-
pub const IP_MULTICAST_LOOP: c_int = 4;
2211-
pub const IP_ADD_MEMBERSHIP: c_int = 5;
2212-
pub const IP_DROP_MEMBERSHIP: c_int = 6;
2209+
pub const IP_MULTICAST_TTL: c_int = 10;
2210+
pub const IP_MULTICAST_LOOP: c_int = 11;
2211+
pub const IP_ADD_MEMBERSHIP: c_int = 12;
2212+
pub const IP_DROP_MEMBERSHIP: c_int = 13;
22132213
pub const IPV6_ADD_MEMBERSHIP: c_int = 5;
22142214
pub const IPV6_DROP_MEMBERSHIP: c_int = 6;
22152215
pub const IP_TTL: c_int = 4;

0 commit comments

Comments
 (0)